<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>数独大师</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
    <style>
        input::-webkit-outer-spin-button,
        input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        input[type=number] {
            -moz-appearance: textfield;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>数独大师</h1>
        
        <div class="controls">
            <select id="difficulty">
                <option value="debug">调试</option>
                <option value="easy">简单</option>
                <option value="medium" selected>中等</option>
                <option value="hard">困难</option>
            </select>
            <button onclick="newGame()">新游戏</button>
            <button onclick="getHint()">提示</button>
            <div id="status" class="status-success"></div>
            <button id="pauseBtn" onclick="togglePause()"></button>
            <div id="timer" class="timer">00:00</div>
        </div>

        <div id="sudoku-board">
            <div class="paused-overlay">游戏已暂停</div>
        </div>
    </div>

    <script src="{{ url_for('static', filename='script.js') }}"></script>
</body>
</html>